Inheritance diagram for IShUtilities:

Public Member Functions | |
| virtual void MCCOMAPI | BeginProgress (const TMCString &prompt, IMCUnknown **outProgressKey, real32 inMaxValue=100.0f)=0 |
| virtual void MCCOMAPI | EndProgress (IMCUnknown *inProgressKey)=0 |
| virtual void MCCOMAPI | SetProgressPrompt (TMCString &inPrompt, IMCUnknown *inProgressKey=NULL)=0 |
| virtual void MCCOMAPI | IncrementProgress (real32 inIncrement, IMCUnknown *inProgressKey=NULL)=0 |
| virtual void MCCOMAPI | SetProgressValue (real32 inValue, IMCUnknown *inProgressKey=NULL)=0 |
| virtual void MCCOMAPI | SetProgressValue0to1 (real32 inValue, IMCUnknown *inProgressKey=NULL)=0 |
| virtual uint32 MCCOMAPI | TickCount ()=0 |
| virtual uint32 MCCOMAPI | Random ()=0 |
| virtual MCCOMErr MCCOMAPI | SetRandomSeed (uint32 newSeed)=0 |
| virtual int32 MCCOMAPI | RandomStep (int32 before)=0 |
| virtual uint32 MCCOMAPI | GetAPINumber ()=0 |
| virtual MCCOMErr MCCOMAPI | Gestalt (void *data, uint32 id)=0 |
| virtual int16 MCCOMAPI | DoAlert (EAlerts alertSeverity, const TMCString &mainMessage, const TMCString &arg0, const TMCString &arg1, const TMCString &arg2, int32 buttonsCount, const TMCString &button0, const TMCString &button1, const TMCString &button2)=0 |
| virtual MCCOMErr MCCOMAPI | ErrorToString (MCCOMErr inErr, TMCString &outErrorString)=0 |
| virtual void MCCOMAPI | BuildAlertMessage (MCCOMErr inErr, const TMCString &inContext, TMCString &outMessage)=0 |
| virtual MCCOMErr MCCOMAPI | RestoreResources (void *oldResources)=0 |
| virtual MCCOMErr MCCOMAPI | BlitUIImage (IMCGraphicContext *inGraphicContext, const TMCRect &inRect, const TMCRect &inUpdateBBox, uint32 inResourceID)=0 |
| virtual MCCOMErr MCCOMAPI | GetUIImageInfo (uint32 inResourceID, int32 &width, int32 &height, int32 &planes)=0 |
| virtual MCCOMErr MCCOMAPI | GetUIImageBucket (uint32 inResourceID, TMCPixelBucket *bucket)=0 |
| virtual MCCOMErr MCCOMAPI | GetUIImage (uint32 inResourceID, TMCUIImage **outUiImage)=0 |
| virtual MCCOMErr MCCOMAPI | CreateCompatiblePixelBucket (int32 widthParam, int32 heightParam, int32 depthParam, TMCCompatiblePixelBucket **outBucket)=0 |
| virtual MCCOMErr MCCOMAPI | DestroyCompatiblePixelBucket (TMCCompatiblePixelBucket *outBucket)=0 |
| virtual TMCAsciiTranslationTable *MCCOMAPI | GetAsciiTranslationTable ()=0 |
| virtual uint32 MCCOMAPI | GetOpenDocumentsCount ()=0 |
| virtual MCCOMErr MCCOMAPI | GetOpenDocumentByIndex (IMFDocument **document, uint32 index)=0 |
| virtual void MCCOMAPI | GetLastOpenDocPath (TMCString &path)=0 |
| virtual void MCCOMAPI | GetLastSaveDocPath (TMCString &path)=0 |
| virtual void MCCOMAPI | SetLastOpenDocPath (const TMCString &path)=0 |
| virtual void MCCOMAPI | SetLastSaveDocPath (const TMCString &path)=0 |
| virtual int16 MCCOMAPI | StringWidth (const TMCTextStyle &inStyle, const TMCString &inString)=0 |
| virtual void MCCOMAPI | GetTextMetrics (const TMCTextStyle &inStyle, TMCTextMetrics &outMetrics)=0 |
| virtual IDType MCCOMAPI | GetCreator ()=0 |
| virtual void MCCOMAPI | SetCursor (int32 cursorId)=0 |
| virtual void MCCOMAPI | GetFontList (IMCFontList **outFontList)=0 |
| virtual boolean MCCOMAPI | CheckForUserCancel ()=0 |
| virtual const TMCModifiers &MCCOMAPI | GetCurrentModifiers ()=0 |
| virtual boolean MCCOMAPI | CheckKeyDown (int16 inVirtualKey)=0 |
| virtual boolean MCCOMAPI | WerePrefsBad ()=0 |
| virtual int16 MCCOMAPI | Alert (EAlertButtons inAlertType, const TMCString &message, boolean &doSkip)=0 |
| virtual void MCCOMAPI | BlitTMCUIImage (IMCGraphicContext *inGraphicContext, TMCRect &inRect, const TMCRect &inUpdateBBox, TMCUIImage *image)=0 |
| virtual void MCCOMAPI | CreateBrowserDialog (IMFBrowserDialog **browserDialog)=0 |
| virtual void MCCOMAPI | WriteComponentToBrowserFile (IShComponent *component, IMCFile *file)=0 |
| virtual MCCOMErr MCCOMAPI | LoadComponentFromBrowserFile (IShComponent **component, const IDType componentFamilyID, IMCFile *file)=0 |
| virtual MCCOMErr MCCOMAPI | LoadComponentDataFromBrowserFile (IShComponent *component, IMCFile *file)=0 |
| virtual void MCCOMAPI | EventLoop (boolean &isDone)=0 |
| virtual void MCCOMAPI | CreateAAGraphicContext (TMCOffscreen &inOffscreen, IMCGraphicContext **gc)=0 |
| virtual void MCCOMAPI | QuitApplication ()=0 |
| virtual void MCCOMAPI | GetVersion (TMCVersionNumber &outVersionNumber)=0 |
| virtual void MCCOMAPI | GetApplicationFullName (TMCString &string)=0 |
| virtual const TMCString *MCCOMAPI | GetErrorMessage (EMCErrorCode errorCode)=0 |
| virtual boolean MCCOMAPI | StoreSecretInfo (const TMCString &fileName, const TMCString &infoName, void *data, uint32 dataSize)=0 |
| virtual boolean MCCOMAPI | GetSecretInfo (const TMCString &fileName, const TMCString &infoName, void *data, uint32 dataSize)=0 |
| virtual void MCCOMAPI | GetStandardPath (const EStandardPathID &inStandardPathID, TMCDynamicString &outPath)=0 |
| virtual boolean MCCOMAPI | IsAnyMenuActive ()=0 |
| virtual void MCCOMAPI | GetFileForCurrentLanguage (IMCFile *file, boolean checkIfFileExists=true, boolean addSpace=false)=0 |
|
||||||||||||||||
|
Pops up an alert message with a 'skip from now on' checkbox. This function is thread safe.
|
|
||||||||||||||||
|
Progress bar support function. Begins a new progress bar (you can have more than one displayed at a time). BeginProgress returns a progress key which is passed to the other progress bar functions to identify which progress bar we're modifying.
|
|
||||||||||||||||||||
|
Blits an image in a graphics context.
|
|
||||||||||||||||||||
|
Blits an image stored in a UImg resource to a graphics context.
|
|
||||||||||||||||
|
Constructs an alert message for display to the user, including the context for where the alert occurred.
|
|
|
Checks the application's message queue for a user cancel request. This should be called within time-consuming operations to make sure that the operation can be cancelled if the user hits the escape key.
|
|
|
Checks to see if a given key is currently down.
|
|
||||||||||||
|
Creates an antialiased graphics context
|
|
|
Creates a browser dialog. Do not forget to call CallPrepareToDestroy before you release the dialog.
|
|
||||||||||||||||||||
|
Creates a pixel bucket of a specified size/depth.
|
|
|
Destroys a passed-in TMCCompatiblePixelBucket, and frees the memory used by the bucket's Offscreen.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Opens a basic alert box. Use this to post an alert and get a response from the user. The strings button0, button1, and button2 are optional. If they are empty strings, default values will be used. If buttonCount == 1, "OK". If buttonCount == 2, "OK Cancel", and if buttonCount == 3, "Yes No Cancel". This function is thread safe. (it can be called from a preemptive thread)
|
|
|
Progress bar support function. Ends a progress bar.
|
|
||||||||||||
|
Translates from a MCCOMErr value to a text string.
|
|
|
Creates a local event loop.
|
|
||||||||||||
|
Unlikely to need to use this. Returns state information corresponding to an ID code.
|
|
|
Returns the API version. |
|
|
Returns the full name of the application (ex: Carrara 4 Pro)
|
|
|
Returns the global ASCII translation table.
|
|
|
Deprecated. |
|
|
Returns the state of the keyboard modifiers. (Things like "shift key down" and "ctrl key down".) This is generally used to enable different behaviors of mouse clicks or other keypresses.
|
|
|
Internal use only. Use GetErrorMessage() instead (See MCErrorMessages.h) |
|
||||||||||||||||
|
Modify the given file to point to the correct file for the current language.
|
|
|
Accessor for the Font list.
|
|
|
Gets the file path of the last opened document. This returns the full path including the filename.
|
|
|
Gets the file path of the last saved document. This returns the full path including the filename.
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||||||||||
|
Returns true if the info could be read. |
|
||||||||||||
|
Returns the component class of a component (Very rarely used)
|
|
||||||||||||
|
Returns the font metrics associated with a given TMCTextStyle.
|
|
||||||||||||
|
Gets an image from a resource and places it in a TMCUIImage.
|
|
||||||||||||
|
Blits the UI Image directly into a pixel bucket. The bucket must be allocated before calling this function, so you should use GetUIImageInfo() to figure out how large the bucket needs to be, and then allocate it with CreateCompatiblePixelBucket().
|
|
||||||||||||||||||||
|
Gets information about the UImg resource at a given ID. Useful for sizing pixel buckets, etc.
|
|
|
Returns the current version number of the application
|
|
||||||||||||
|
Progress bar support function. Increments the progress bar by inIncrement.
|
|
|
Returns true if a menu is active |
|
||||||||||||
|
Loads a component's data from a browser file. (The file must of course have been created from the same class as the component passed.)
|
|
||||||||||||||||
|
Loads a component from a browser file
|
|
|
Posts an action to quit the application. |
|
|
|
|
|
Given a previous pseudorandom number, generates the next one.
|
|
|
Deprecated.
|
|
|
Sets the mouse cursor. See MCCursorTypes.h
|
|
|
Sets the file path of the last opened document. Use this if you open a document, to make sure that GetLastOpenDocPath() calls correctly return the path to the document you opened.
|
|
|
Sets the file path of the last saved document. Use this if you save a document, to make sure that GetLastSaveDocPath() calls correctly return the path to the document you saved.
|
|
||||||||||||
|
Progress bar support function. Sets the progress bar's title prompt. You can use this if you want to alter the prompt midway through the progress bar process.
|
|
||||||||||||
|
Progress bar support function. Sets the progress value to inValue.
|
|
||||||||||||
|
Progress bar support function. Sets the progress value to a fraction of its maximum value determined by inValue. Sets the value of the progress bar to inValue * max value.
|
|
|
Sets the random number seed.
|
|
||||||||||||||||||||
|
Returns true if the info was written. |
|
||||||||||||
|
Utility to calculate the width in pixels of a string in a given text style. Useful for calculating formatting for text you need to display dynamically.
|
|
|
|
|
|
|
|
||||||||||||
|
Writes a component to a browser file.
|
1.4.5